package com.atguigu.ucenter.service;

import com.atguigu.commonUtils.R;
import com.atguigu.ucenter.entity.Member;
import com.atguigu.ucenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author Rayyy666
 * @since 2022-04-14
 */
public interface MemberService extends IService<Member> {

    //用户登录
    String login(Member member);

    //用户注册
    R register(RegisterVo registerVo);

    //查询微信扫码人信息
    Member getOpenIdMember(String openid);

    //查询某一天的注册人数
    Integer countRegisterOneDay(String day);
}
